package org.blankhole.dao.impl;

import org.apache.log4j.Logger;
import org.blankhole.dao.IArticleDao;
import org.blankhole.model.Article;
import org.springframework.stereotype.Component;

/**
 * DefaultDaoImpl: Implemention of the default Dao
 *
 * @author Wenlong Meng(wenlong.meng@gmail.com)
 * @version 1.0 at 2012/07/23
 * @since 1.0
 */
@Component
public class ArticleDaoImpl implements IArticleDao {
	
	//local variables
	/**
	 * logger
	 */
	private static Logger logger = Logger.getLogger(ArticleDaoImpl.class);

	//Logic
	/**
	 * insert article into DB
	 * 
	 * @param article the article
	 * @return
	 */
	@Override
	public int insert(Article article) {
		logger.debug("exec: insert(" + article + ")");
		// TODO Auto-generated method stub
		return 0;
	}

}
